<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>교육담당자 시스템</title>
<link href="libHRD/css/style.css" rel="stylesheet" type="text/css" />
<script> 
	function log_in(){
		var frm = document.mainfrm;
		//frm.action = "/loginCheck";
		frm.action = "/jsp/com0101l_p01.jsp";
		frm.target = frm.target1.value;
		frm.submit();
	}
	
	function movePage(page){
		location.href=page;
	}
</script>

<script>
var BrowserDetect = {
		 init: function () {
		  this.browser = this.searchString(this.dataBrowser) || "An unknown browser";
		  this.version = this.searchVersion(navigator.userAgent)
		   || this.searchVersion(navigator.appVersion)
		   || "an unknown version";
		  this.OS = this.searchString(this.dataOS) || "an unknown OS";
		 },
		 searchString: function (data) {
		  for (var i=0;i<data.length;i++) {
		   var dataString = data[i].string;
		   var dataProp = data[i].prop;
		   this.versionSearchString = data[i].versionSearch || data[i].identity;
		   if (dataString) {
		    if (dataString.indexOf(data[i].subString) != -1)
		     return data[i].identity;
		   }
		   else if (dataProp)
		    return data[i].identity;
		  }
		 },
		 searchVersion: function (dataString) {
		  var index = dataString.indexOf(this.versionSearchString);
		  if (index == -1) return;
		  return parseFloat(dataString.substring(index+this.versionSearchString.length+1));
		 },
		 dataBrowser: [
		  {
		   string: navigator.userAgent,
		   subString: "Chrome",
		   identity: "Chrome"
		  },
		  {
		   prop: window.opera,
		   identity: "Opera"
		  },
		  {
		   string: navigator.userAgent,
		   subString: "Firefox",
		   identity: "Firefox"
		  },
		  {  
		   string: navigator.userAgent,
		   subString: "Netscape",
		   identity: "Netscape"
		  },
		  {
		   string: navigator.userAgent,
		   subString: "MSIE",
		   identity: "Explorer",
		   versionSearch: "MSIE"
		  },
		  {   // for older Netscapes (4-)
		   string: navigator.userAgent,
		   subString: "Mozilla",
		   identity: "Netscape",
		   versionSearch: "Mozilla"
		  }
		 ],
		 dataOS : [
		  {
		   string: navigator.platform,
		   subString: "Win",
		   identity: "Windows"
		  },
		  {
		   string: navigator.platform,
		   subString: "Mac",
		   identity: "Mac"
		  },
		  {
		      string: navigator.userAgent,
		      subString: "iPhone",
		      identity: "iPhone/iPod"
		     },
		  {
		   string: navigator.platform,
		   subString: "Linux",
		   identity: "Linux"
		  }
		 ]
		};
		BrowserDetect.init();

</script>
<SCRIPT language=javascript>
<!--
if((BrowserDetect.OS == 'iPhone/iPod') || (navigator.platform == 'Windows Mobile') || (navigator.platform == 'WinCE') || (navigator.userAgent.indexOf("Android")>0) ) {
	location.href='/mobile/index.jsp';
}else{

}
//-->
</SCRIPT>
</head>
<body>
  <div id="wrap">
    <div id="container">
    
<form name="mainfrm" method="post">
<input type="hidden" name="target1" value="hide_src"/>

<div id="header">
      	<p><img src="images/HRD_admin_LOGO.jpg" width="144" height="44"></p> 
</div>

<div id="subMenu">
	<ul>
	<li><a href="#"  class="subMenuOn">로그인을 해주세요.</a></li>
	</ul>
</div>

<div id="bodyContainer">
        <div id="contents">
          <div class="loginBox">
          <table align="center">
              <tr>
                <td>아이디 :</td>
                <td><input name="user_id" id="hope_id" type="text" TABINDEX="1"/></td>
                <td rowspan="2"><a TABINDEX="3" href="#" onClick="javascript:log_in()"><img src="/images/btn_login2.gif" alt="로그인" width="50" height="50" border="0" /></a></td>
              </tr>
              <tr>
                <td>비밀번호 :</td>
                <td><input type="password" name="pwd_text" id="pwd" TABINDEX="2" onKeyDown="if(event.keyCode==13){log_in();}"/></td>
              </tr>
            </table>
          

			<p class="text">교육담당자 시스템입니다.</p>
            <ul class="text2">
              <li></li>
              <li></li>
            </ul>
          </div>
          
        </div>
      
    </div>
    
<iframe name='hide_src'  width='0' height='0' SCROLLING='AUTO' frameborder='0'></iframe>
</iframe>
</form>
</body>
</html>
